package com.haizhi.crm.biz.dao;

import com.haizhi.crm.biz.model.ConcernedGroupDo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yangyijun on 2018/5/10.
 */
@Repository
public interface ConcernedGroupDao extends JpaRepository<ConcernedGroupDo, Long> {
    List<ConcernedGroupDo> findByUserId(@Param("userId" ) Long userId);
}
